#include "contractus_utils.h"

// Generate an RSA keypair of given length
void generate_rsa_keys(int len, unsigned char *priv_key, unsigned char *pub_key) {

    // Do something 
    int i;
    for (i=0; i<len; i++) {
        priv_key[i] = (unsigned char) 'a';
        pub_key[i] = (unsigned char) 'b';
    }

}

// Generates a new bitcoin address
void generate_bitcoin_address(unsigned char *priv_key, unsigned char *addr) {

    // Do something 

}

// Verifies that the POSTED_DATA is indeed posted to the bulletin board, where
// PROOF is the contents returned by the bulletin board.
void verify_bulletin_board(unsigned char *proof, unsigned char *posted_data) {

    // Do something

}
